package com.packet.service.impl;

import com.packet.mapper.ManagerApprovalMapper;
import com.packet.service.ManagerApprovalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author L
 */
@Service
public class ManagerApprovalServiceImpl implements ManagerApprovalService {

    @Autowired
    ManagerApprovalMapper managerApprovalMapper;
    @Override
    public void agreeApplication(Integer bId) {
        managerApprovalMapper.agreeApplication(bId);
    }

    @Override
    public void refuseApplication(Integer bId) {
        managerApprovalMapper.refuseApplication(bId);
    }

    @Override
    public void refuseReason(Integer bId, String detail) {
        managerApprovalMapper.refuseReason(bId,detail);
    }
}
